home *** CD-ROM | disk | FTP | other *** search
- /*
- Replace calls to read/write/close with the following.
-
- Calls to socket/connect are replaced with e_socket_connect
- */
- #ifdef VMS /* For CMU TCP/IP */
- #define NET_READ(c,b,l) e_read(c,b,l)
- #define NET_WRITE(c,b,l) e_write(c,b,l)
- #define NET_CLOSE(c) e_disconnect(c)
- #define MOVEB(x,y,n) memcpy(y,x,n)
- #define bzero(s,n) memset(s,0,n)
- #endif
-
- #ifdef unix
- #define NET_READ(c,b,l) read(c,b,l)
- #define NET_WRITE(c,b,l) write(c,b,l)
- #define NET_CLOSE(c) close(c)
- #define MOVEB(x,y,n) bcopy(x,y,n)
- #endif
-
-